package com.webdev.service;

import java.util.List;

import com.webdev.domain.Personnel;
import com.webdev.domain.Request;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public interface RequestService {
    void addRequest(Request req);
    List<Request> bossSearch();
    List<Request> staffSearch(Personnel personnel);
    void updateRequest(Request req);
    Request getRequestByRid(int rid);
    JSONObject getJSONObject(Request req);
    JSONArray getJSONArray(List<Request> reqlist);
}
